package me.grm.cs.course;

public class CoursePublic extends ICourse{
    public CoursePublic(String id, String name, String className) {
        super(id, name, className);
        System.out.println("Public course " + name + " created.");
    }

    @Override
    public String getId() {
        return courseInfo.id;
    }

    @Override
    public String getName() {
        return courseInfo.name;
    }

    @Override
    public int getGrade() {
        return 0;
    }
}
